import request from '@/utils/request'

// 用户登录
export const getLogin = (data: object) => {
  return request({
    url: '/api/auth/login',
    method: 'post',
    data
  })
}
// 用户信息
export const getUserInfo = (data: object) => {
  return request({
    url: '/api/auth/me',
    method: 'post',
    data
  })
}
// 字典数据
export const getDataDict = (data: object) => {
  return request({
    url: '/api/system/dict/group/getDict',
    method: 'post',
    data
  })
}
